Skip to content

refactor: trim redundant reasoning budget tests (21 → 3 API calls)#530

Merged
FL4TLiN3 merged 2 commits intomainfrom
chore/trim-reasoning-budget-tests
Feb 15, 2026
Merged

refactor: trim redundant reasoning budget tests (21 → 3 API calls)#530
FL4TLiN3 merged 2 commits intomainfrom
chore/trim-reasoning-budget-tests

Conversation

@FL4TLiN3
Copy link
Contributor

Summary

  • Remove 6 redundant test cases from reasoning-budget.test.ts (2 per provider × 3 providers)
  • "should produce more reasoning tokens with higher budget" didn't actually compare min vs high — just checked existence (same as test 1)
  • "should complete successfully with all budget levels" only added low coverage beyond tests 1 & 2
  • Flattened nested describe blocks into a single describe.concurrent for parallel execution
  • 21 → 3 LLM API calls per CI run in the cli-reasoning suite

Test plan

  • pnpm test — 100 files, 1090 tests all passing
  • E2E on CI (requires API keys)

🤖 Generated with Claude Code

Remove "should produce more reasoning tokens with higher budget" and
"should complete successfully with all budget levels" from all three
providers. Both were redundant — the former didn't actually compare
token counts, and the latter only added "low" coverage beyond what
the first test already covers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 enabled auto-merge (squash) February 15, 2026 14:28
@FL4TLiN3 FL4TLiN3 disabled auto-merge February 15, 2026 14:29
@FL4TLiN3 FL4TLiN3 enabled auto-merge (squash) February 15, 2026 14:29
@FL4TLiN3 FL4TLiN3 merged commit e9952da into main Feb 15, 2026
11 checks passed
@FL4TLiN3 FL4TLiN3 deleted the chore/trim-reasoning-budget-tests branch February 25, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant